#ifndef __FUNCTION_H
#define __FUNCTION_H

#include "main.h"

#define MAIN_UART huart2
#define RF_UART   huart1
#define UART_BUFFERSIZE 256


extern uint8_t main_uart_rx_buff[UART_BUFFERSIZE];
// extern uint8_t main_uart_tx_buff[UART_BUFFERSIZE];
extern uint8_t   rf_uart_rx_buff[UART_BUFFERSIZE];
// extern uint8_t   rf_uart_tx_buff[UART_BUFFERSIZE];

extern uint16_t main_rx_ptr;
extern uint16_t main_tx_ptr;
extern uint16_t rf_rx_ptr;
extern uint16_t rf_tx_ptr;

#endif
